const http = require("./api.js")
const appid = 'wx8e308165249a35c4'

function login(param = {}) {
  let url = '/wxmini/user/' + appid+'/login'
  let method = 'post'
  return http({ url, param, method })
}

module.exports = {
  login
}